import { SAVE_PRODUCT_INFO } from "../action_types";

let productInfo = {}
export default function getProductInfo(preState = productInfo, action) {
    switch (action.type) {
        case SAVE_PRODUCT_INFO:
            return action.data;
        default:
            return preState;
    }
}